package com.zl.csMall.basic.busEnum.po;

import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @description: 枚举
 * @author: ChenNing
 * @date 2025-10-20 11:32
 */
@Data
@ApiModel(description = "枚举 实体")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BusEnum implements Serializable {

    private static final long serialVersionUID = 1L;

    private long id;

    @ApiModelProperty(value = "序号")
    private Integer sort;

    @ApiModelProperty(value = "组名称")
    private String groupName;

    @ApiModelProperty(value = "名称", required = true)
    @NotNull(message = "不能为空！")
    @NotBlank(message = "不能为空！")
    private String name;

    private Date createDate;

    private Date updateDate;

}
